"""
@author: xxw
@file: 整数类型的值之和.py
@time: 2023/4/20 18:06
"""
lst = [123, 456, 789, "abc", "123", 12.3]
sum = 0
for i in lst:
    if type(i) == int:
        sum += i
print(sum)